package prg420.lectures.lecture1;

/**
 * A sample class.
 * 
 * @author daniel
 *
 */
public class SayIt
{
    private String message = ""; // datum that's part of this class
    
    public SayIt( String message )
    {
        this.message = message;
    }
    
    public void printMessage()
    {
        System.out.println( this.message );
    }
    
    public static void main( String args[] )
    {
        SayIt anInstanceOfSayIt = new SayIt( "Hello, World!" );
        anInstanceOfSayIt.printMessage();
    }
}
